import React, { useEffect } from 'react'
import './index.scss'
import 'turn.js'
import '@/utils/screen'
import { turnFuc } from '@/utils/turnConfig'

window.viewAdaption({ pw: 720, ph: 1280, outer: 'container', inner: 'app' })

const Index = () => {

  useEffect(() => {
    turnFuc()
  }, [])

  return (
    <div id="book">
      <div className="red">
        <div className="content">1</div>
      </div>
      <div className="yellow">
        <div className="content">1</div>
      </div>
      <div className="green">
        <div className="content">1</div>
      </div>
    </div>
  )
}

export default Index
